package com.chunguang.netty.netty.clinet;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Start {

	public static void main(String[] args) {
		MuClient client = new MuClient(10);
		client.init();
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			try {
				System.out.println("请输入:");
				String msg = bufferedReader.readLine();
				client.nextChannel().writeAndFlush(msg);
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		
		
		
		
		
		
	}
}
